package com.tf_cut.backend.mapper;

import com.tf_cut.backend.agent.mobile.vo.SellerOrderProviderVo;
import com.tf_cut.backend.seller.vo.SellerAndAccountVo;
import com.tf_cut.backend.seller.vo.SellerAndServiceVo;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SellerAndAccountMapper {
	List<SellerAndAccountVo> findListSeller(SellerAndAccountVo vo);
	List<SellerAndAccountVo> findSellerWithAgentId(String agentId);

	List<SellerAndAccountVo> findListWithSellerIds(@Param("ids") List<String> ids,@Param("agentName") String agentName);

	List<SellerOrderProviderVo> sellerProviderDay(SellerOrderProviderVo sellerOrderProviderVo);
	List<SellerOrderProviderVo> sellerAmountWithAgentId(SellerOrderProviderVo sellerOrderProviderVo);

	List<SellerAndAccountVo> findSellerForAdmin(SellerAndAccountVo sellerAndAccountVo);

	List<SellerAndAccountVo> querySellerBalance(SellerAndAccountVo sellerAndAccountVo);

	List<SellerAndAccountVo> findByCondition(SellerAndAccountVo vo);
	
	
	List<SellerAndServiceVo> findSellerService(SellerAndServiceVo avo);
}
